﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace PhilipSupport.Controls.MainControl
{   
    public partial class MainControl : UserControl
    {
        public delegate void HostMeetingClickHandler();
        public event HostMeetingClickHandler HostMeetingClicked;

        public delegate void MyInfoClickHandler();
        public event MyInfoClickHandler MyInfoClicked;

        public delegate void ServiceRecordClickHandler();
        public event ServiceRecordClickHandler ServiceReocrdClicked;

        public MainControl()
        {
            InitializeComponent();
        }

        private void btn_HostMeeting_Click(object sender, EventArgs e)
        {
            HostMeetingClicked?.Invoke();
        }

        private void btn_MyInfo_Click(object sender, EventArgs e)
        {
            MyInfoClicked?.Invoke();
        }

        private void btn_ServiceRecord_Click(object sender, EventArgs e)
        {
            ServiceReocrdClicked?.Invoke();
        }
    }
}
